package com.paic.icore.test.demo.disruptor.official;


import com.lmax.disruptor.EventHandler;

/**
 * describe:
 *
 * @author huxingjie
 * @date 2019/03/25
 * @since 3.4
 */
public class LongEventHandler implements EventHandler<LongEvent> {

    @Override
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("handler long :" + event.getValue() +" sequence "+ sequence);
    }
}

    